import http from '@/utils/https.js'
export const getMenu = (name) => {
  return http.post(`/menu/getmenu`, { byname: name }).then(res => res.data)
}
export const getNovelData = (titleLink) => {
  return http.post(`/my/getCheerioData`, {
    titleLink
  }).then(res => res.data);
}
export const getLastReadCapater = (read) => {
  return http.post(`/my/getLastCapater`, {
    read
  }).then(res => res.data);
}
export const getNovelCapater = () => {
  return http.get(`/my/getNovelCapater`).then(res => res.data);
}

